//登陆模块

import http from '@/lib/http'




export function loginApi(param) {
    return http.postRequest(`/login/pc`, param)
}

export function getUserAuthoritys(param) {
    return http.postRequest(`/user/authority/list`, param)
}

export function reset(param) {
    return http.postRequest(`/password/change`, param)
}
export function logout(param) {
    return http.getRequest(`/logout`, param)
}
export function pending(param) {
        return http.getRequest(`/pending`, param)
}

export function getUserInfo(param) {
        return http.postRequest(`/authority/seek`, param)
}